package com.xy.edumap.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xy.edumap.dao.ResStoreMapper;
import com.xy.edumap.pojo.ResStore;
import com.xy.edumap.service.ResStoreService;

@Service
public class ResStoreServiceImpl implements ResStoreService {

	@Autowired
	private ResStoreMapper resdao;

	@Override
	public int insert(ResStore record) {
		return resdao.insertSelective(record);
	}

	@Override
	public List<ResStore> selectAll() {
		return resdao.selectAll();
	}
}
